The Database API > Database API functions > MMDB.getRuntimeConnectionType() |
![]() ![]() ![]() |
MMDB.getRuntimeConnectionType()
Availability
Dreamweaver UltraDev 1.0
Description
Returns the run-time connection type of the specified connection name. This function can return one of the following values: "ADO"
, "ADODSN"
, "JDBC"
, or "CFDSN"
.
Arguments
connName
connName
is the UltraDev connection name as specified in the Connection Manager. It is used to make a database connection to a live data source.
Returns
A string corresponding to the connection type.
Example
The following code would return the string "ADO"
for an ADO connection:
var connectionType = MMDB.getRuntimeConnectionType ("EmpDB")
![]() ![]() ![]() |